
<h1>Fantasquadra: <?php echo $fantasquadra['Fantasquadra']['nome'] ?></h1>


<?php


echo $javascript->link('jquery-autocomplete/lib/jquery.js', false);
echo $javascript->link('jquery-autocomplete/lib/jquery.bgiframe.min.js', false);
echo $javascript->link('jquery-autocomplete/lib/jquery.ajaxQueue.js', false);
echo $javascript->link('jquery-autocomplete/lib/thickbox-compressed.js', false);
echo $javascript->link('jquery-autocomplete/jquery.autocomplete', false);
echo $javascript->link(array('jquery-autocomplete/lib/jquery', 'bootstrap'), false);

echo $html->css(array('/js/jquery-autocomplete/main.css','/js/jquery-autocomplete/jquery.autocomplete.css','/js/jquery-autocomplete/lib/thickbox.css'), null, array(), false);


//<script type="text/javascript" src="../lib/jquery.js"></script>
//<script type='text/javascript' src='../lib/jquery.bgiframe.min.js'></script>
//<script type='text/javascript' src='../lib/jquery.ajaxQueue.js'></script>
//<script type='text/javascript' src='../lib/thickbox-compressed.js'></script>
//<script type='text/javascript' src='../jquery.autocomplete.js'></script>
//<script type='text/javascript' src='localdata.js'></script>
//
//<link rel="stylesheet" type="text/css" href="main.css" />
//<link rel="stylesheet" type="text/css" href="../jquery.autocomplete.css" />
//<link rel="stylesheet" type="text/css" href="../lib/thickbox.css" />


echo $form->create('Fantaacquisto', array('url' => '/fantaacquisti/associa/'.$fantasquadra['Fantasquadra']['id']));

echo $form->input('lista');

echo $form->input('costo');
echo $form->input('data_acquisto', array('type' => 'date'));

?>

<?php

echo $form->hidden('calciatore_id');

echo $form->end('Save');
?>